from langchain_openai import ChatOpenAI


def test():
    llm = ChatOpenAI(
        api_key="sk-VowKQBUMIkSND8WScNJtDLqf3FyqWHQ43LMVUXH1m6GZaopA",
        base_url="https://ai.nengyongai.cn/v1"
    )

    #
    resp = llm.invoke("你好")
    print(resp)
